export const tableOption = {
  selection:true,
  rowKey: 'id',
  border: true,
  stripe: true,
  menuAlign: 'center',
  menuWidth: 150,
  align: 'center',
  refreshBtn: true,
  showClomnuBtn: false,
  searchSize: 'mini',
  searchMenuSpan: 6,
  viewBtn: true,
  delBtn: true,
  addBtn: false,
  editBtn: false,
  cancelBtn: false,
  saveBtn: false,

  props: {
    label: 'label',
    value: 'value'
  },
  column: [
	  {
      type: 'input',
      label: '编号',
      prop: 'id',
      span: 12
    },	  {
      type: 'input',
      label: '用户ID',
      prop: 'userId',
      width: '120%',
      span: 12
    },	  {
      type: 'input',
      label: '用户名',
      width: '130%',
      search: true,
      prop: 'userName',
      span: 12
    },	  {
      type: 'select',
      label: '日志类型',
      prop: 'logType',
      span: 12,
      dicData: [{
        label: '登录',
        value: 'LOGIN'
      }, {
        label: '登出',
        value: 'LOGOUT'
      }, {
        label: '操作',
        value: 'OPER'
      }, {
        label: '前台',
        value: 'VUE'
      }]
    },	  {
      type: 'input',
      label: '描述信息',
      prop: 'description',
      overHidden: true,
      width: '180%',
      span: 12
    },	  {
      type: 'input',
      label: '请求参数',
      prop: 'params',
      span: 12,
      overHidden: true,
      width: '200%'
    },	  {
      type: 'input',
      label: '请求数据',
      prop: 'data',
      span: 12,
      overHidden: true,
      width: '200%'
    },	  {
      type: 'select',
      label: '动作类型',
      prop: 'actionType',
      span: 12,
      dicData: [{
        label: '其它',
        value: 'OTHER'
      }, {
        label: '新增',
        value: 'ADD'
      }, {
        label: '删除',
        value: 'DEL'
      }, {
        label: '更新',
        value: 'UPDATE'
      }, {
        label: '查询',
        value: 'GET'
      }, {
        label: '前台',
        value: 'VUE'
      }]
    },	  {
      type: 'select',
      label: '状态',
      prop: 'status',
      span: 12,
      search: true,
      dicData: [{
        label: '正常',
        value: '0'
      }, {
        label: '失败',
        value: '1'
      }]
    },	  {
      type: 'input',
      label: '类#方法',
      prop: 'classMethod',
      span: 12,
      width: '300%',
      overHidden: true
    },	  {
      type: 'input',
      label: '异常信息',
      prop: 'exceptionMsg',
      overHidden: true,
      width: '300%',
      span: 12
    },	  {
      type: 'input',
      label: '请求IP',
      prop: 'requestIp',
      span: 12,
      width: '150%'
    },	  {
      type: 'input',
      label: '请求URL',
      prop: 'requestUrl',
      span: 12,
      overHidden: true,
      width: '250%'
    },	  {
      type: 'input',
      label: '请求耗时',
      prop: 'runDuration',
      span: 12
    },	  {
      type: 'input',
      label: '请求方法',
      prop: 'httpMethod',
      span: 12
    },	  {
      type: 'input',
      label: '操作系统',
      prop: 'os',
      span: 12
    },	  {
      type: 'input',
      label: '浏览器',
      prop: 'browser',
      span: 12
    },	  {
      type: 'input',
      label: '请求地址',
      prop: 'address',
      overHidden: true,
      span: 12
    },	  {
      type: 'datetime',
      label: '创建时间',
      prop: "createdTime",
       width: 150
    },
    {
      type: 'datetime',
      label: '搜索时间',
      prop: 'searchTime',
      format: 'yyyy-MM-dd HH:mm',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      search: true,
      searchRange: true,
      showColumn:false
    }]
}
